# This file is generated manually by ChenJie@HUST

ROOT=../../openwrt2/staging_dir_mipsel
TARGET=roboswitch
OBJS=driver_roboswitch.o \
     main.o

CC=$(ROOT)/bin/mipsel-linux-gcc
LD=$(ROOT)/bin/mipsel-linux-gcc
CFLAGS= -I $(ROOT)/include
LDFLAGS= -L $(ROOT)/lib

.c.o:
	$(CC) $(CFLAGS) -c -o $@ $<

all:	$(TARGET)

clean:
	rm -f $(OBJS) $(TARGET)
	
rebuild:
	make clean all

$(TARGET):$(OBJS)
	$(LD) $(LDFLAGS) $(OBJS) -o $(TARGET)

dep:
	sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
	(for i in *.c;do echo -n "";$(CPP) -M $$i;done) >> tmp_make
	cp tmp_make Makefile
	rm -f tmp_make

### Dependencies:
driver_roboswitch.o: driver_roboswitch.c \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/ioctl.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/features.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/ioctls.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/asm/ioctls.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/asm/ioctl.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/ioctl-types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/ttydefaults.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/socket.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/uio.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/include/stddef.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/time.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/endian.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/endian.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/select.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/select.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/sysmacros.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/uio.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/socket.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/include/limits.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/include/syslimits.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/limits.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/posix1_lim.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/local_lim.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/limits.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/posix2_lim.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/sockaddr.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/asm/socket.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/asm/sockios.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/if.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/posix_types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/stddef.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/asm/posix_types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/asm/types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/config.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/autoconf.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/socket.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/hdlc/ioctl.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/sockios.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/linux/mii.h
main.o: main.c \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/stdio.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/features.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_config.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sys/cdefs.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/include/stddef.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/kernel_types.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/pthreadtypes.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/sched.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_stdio.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/wchar.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/wchar.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_mutex.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/pthread.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/sched.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/time.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/time.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_clk_tck.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/signal.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/sigset.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/initspin.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/sigthread.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/uClibc_pthread.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/include/stdarg.h \
  /home/chenjie/openwrt2/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/bits/stdio_lim.h
